package vashion.azeroth.task.job;

import vashion.azeroth.core.sms.NeteaseSMSSender;


public class SmsJob implements Runnable {

	private NeteaseSMSSender smsSender;
	
	private String phone;
	private String memberName;
	private String template;
	
	public SmsJob(NeteaseSMSSender smsSender, String phone, String template, String memberName) {
		this.smsSender = smsSender;
		this.phone = phone;
		this.memberName = memberName;
		this.template = template;
	}
	
	@Override
	public void run() {
		smsSender.sendMSM(phone, template, memberName);
	}


}
